package com.oa.bean;

import java.sql.Date;

public class Trip {

	private int tr_id;	//申请出差id
	private String tr_applyuser;	//申请人姓名
	private Date tr_time;	//申请时间
	private Date tr_start;	//出差时间
	private Date tr_end;	//结束时间
	private String tr_address;	//出差地点
	private String tr_work;	//工作任务
	private String tr_tool;	//交通工具
	private String tr_reason;	//出差事由
	private double tr_money;	//借款金额
	private int tr_status;	//审批状态
	private int tr_dept_id;	//部门id
	private int tr_person_id;	//参与人
	private int tr_exappuser_id;	//审批人
	
	public Trip(int tr_id, String tr_applyuser, Date tr_time, Date tr_start, Date tr_end, String tr_address,
			String tr_work, String tr_tool, String tr_reason, double tr_money, int tr_status, int tr_dept_id,
			int tr_person_id, int tr_exappuser_id) {
		super();
		this.tr_id = tr_id;
		this.tr_applyuser = tr_applyuser;
		this.tr_time = tr_time;
		this.tr_start = tr_start;
		this.tr_end = tr_end;
		this.tr_address = tr_address;
		this.tr_work = tr_work;
		this.tr_tool = tr_tool;
		this.tr_reason = tr_reason;
		this.tr_money = tr_money;
		this.tr_status = tr_status;
		this.tr_dept_id = tr_dept_id;
		this.tr_person_id = tr_person_id;
		this.tr_exappuser_id = tr_exappuser_id;
	}
	public Trip() {
		super();
		// TODO Auto-generated constructor stub
	}
	public int getTr_id() {
		return tr_id;
	}
	public void setTr_id(int tr_id) {
		this.tr_id = tr_id;
	}
	public String getTr_applyuser() {
		return tr_applyuser;
	}
	public void setTr_applyuser(String tr_applyuser) {
		this.tr_applyuser = tr_applyuser;
	}
	public Date getTr_time() {
		return tr_time;
	}
	public void setTr_time(Date tr_time) {
		this.tr_time = tr_time;
	}
	public Date getTr_start() {
		return tr_start;
	}
	public void setTr_start(Date tr_start) {
		this.tr_start = tr_start;
	}
	public Date getTr_end() {
		return tr_end;
	}
	public void setTr_end(Date tr_end) {
		this.tr_end = tr_end;
	}
	public String getTr_address() {
		return tr_address;
	}
	public void setTr_address(String tr_address) {
		this.tr_address = tr_address;
	}
	public String getTr_work() {
		return tr_work;
	}
	public void setTr_work(String tr_work) {
		this.tr_work = tr_work;
	}
	public String getTr_tool() {
		return tr_tool;
	}
	public void setTr_tool(String tr_tool) {
		this.tr_tool = tr_tool;
	}
	public String getTr_reason() {
		return tr_reason;
	}
	public void setTr_reason(String tr_reason) {
		this.tr_reason = tr_reason;
	}
	public double getTr_money() {
		return tr_money;
	}
	public void setTr_money(double tr_money) {
		this.tr_money = tr_money;
	}
	public int getTr_status() {
		return tr_status;
	}
	public void setTr_status(int tr_status) {
		this.tr_status = tr_status;
	}
	public int getTr_dept_id() {
		return tr_dept_id;
	}
	public void setTr_dept_id(int tr_dept_id) {
		this.tr_dept_id = tr_dept_id;
	}
	public int getTr_person_id() {
		return tr_person_id;
	}
	public void setTr_person_id(int tr_person_id) {
		this.tr_person_id = tr_person_id;
	}
	public int getTr_exappuser_id() {
		return tr_exappuser_id;
	}
	public void setTr_exappuser_id(int tr_exappuser_id) {
		this.tr_exappuser_id = tr_exappuser_id;
	}
	@Override
	public String toString() {
		return "Trip [tr_id=" + tr_id + ", tr_applyuser=" + tr_applyuser + ", tr_time=" + tr_time + ", tr_start="
				+ tr_start + ", tr_end=" + tr_end + ", tr_address=" + tr_address + ", tr_work=" + tr_work + ", tr_tool="
				+ tr_tool + ", tr_reason=" + tr_reason + ", tr_money=" + tr_money + ", tr_status=" + tr_status
				+ ", tr_dept_id=" + tr_dept_id + ", tr_person_id=" + tr_person_id + ", tr_exappuser_id="
				+ tr_exappuser_id + "]";
	}
			
}
